package com.tn.websocket.controller;

import com.databstech.utils.websocket.controller.SocketController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author tn
 * @version 1
 * @ClassName TestController
 * @description 测试
 * @date 2020/8/17 16:35
 */
@RestController
@RequestMapping("test")
@Api(tags = "socket")
public class TestController implements SocketController {

    @ApiOperation("测试")
    @RequestMapping("/test01")
    public String testo01(){
        return "websocket";
    }



}
